Setup the default route to access a resource